<template>
  <div class="bigContainer" >
    <div class="success">恭喜您支付成功~</div>
    <div class="button">
      <van-button type="primary" @click="toHome" style="margin-right:20px;">点击继续购物</van-button>
      <van-button type="info" @click="toHome">点击回到首页</van-button>
    </div>
  </div>
</template>

<script>
  export default {
    name:'Paysuccess',
    methods:{
      toHome(){
        this.$router.push('/')
      }
    }
  }
</script>

<style lang="less" scoped>
  .bigContainer {
    padding: 20px;
    box-sizing: border-box;
    .success{
    color: #f89;
    width: 100%;
    height: 300px;
    line-height: 300px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
  
  }
  .button{
    text-align: center;
  }
  }
  
</style>